package com.zmht.beike.biz;

import java.util.List;

import com.zmht.beike.core.BaseBiz;
import com.zmht.beike.po.TIweekinfo;

public interface IWeekinfoBiz extends BaseBiz {
	/**
	 * 保存
	 * @param teacherId
	 * @param startIndex
	 * @param pageSize
	 * @return
	 */
	public List getIWeekInfo(Integer teacherId,int startIndex,int pageSize);
	/**
	 * 获得总记录数
	 * @param teacherId
	 * @return
	 */
	public int getIWeekInfoTotal(Integer teacherId);
	/**
	 * 保存内容
	 * @param weekinfo
	 * @return
	 */
	public Integer saveIWeekInfo(TIweekinfo weekinfo);
	
	/**
	 * 根据id 获得记录
	 * @param id
	 * @return
	 */
	public TIweekinfo findById(java.io.Serializable id);
	/**
	 * 根据主题id 月份 周获得周主题
	 * @param targetId
	 * @param month
	 * @param week
	 * @return
	 */
	public TIweekinfo findByTarget(String targetId,String month,String week,Integer teacherId);
}
